package com.utils;

public class RenameImg {
	public static String getExt(String uploadFileName){
		return uploadFileName.substring(uploadFileName.lastIndexOf("."));
	}
	
	public static String getNewName(String uploadFileName){
		return System.currentTimeMillis() + getExt(uploadFileName);
	}

}
